﻿using System.Collections.Generic;
using Data.Common;
using Data.Model;
using Data.ViewModel;

namespace DataAccess.BikeManage
{
    public interface IControlBox
    {
        ResultInfo<int> CreateOrUpdateControlBox(jsh_controlbox controlbox);
        ResultInfo<bool> DeleteControlBox(int id);
        ResultInfo<jsh_controlbox> GetControlBoxById(int id);
        ResultInfo<IList<jsh_controlbox>> GetControlBox(int areaId);
        ResultInfo<IList<jsh_controlbox>> GetControlBox(int areaId, string date, string timeZone);
        ResultInfo<PagingDataSet<ControlBoxView>> GetControlBoxs(int pageIndex, int pageSize, string boxName);

    }
}
